package com.xcesys.extras.dataobject.system;

import com.xcesys.extras.dataobject.TreeNode;

public class Category extends TreeNode<Category> {
	private static final long serialVersionUID = -4355209203888555461L;
	private String code;
	private String description;
	private Boolean editable;

	public String getCode() {
		return code;
	}

	public String getDescription() {
		return description;
	}

	public Boolean getEditable() {
		return editable;
	}

	public void setCode(String code) {
		Object oldValue = this.code;
		this.code = code;
		firePropertyChange("code", oldValue, code);
	}

	public void setDescription(String description) {
		Object oldValue = this.description;
		this.description = description;
		firePropertyChange("description", oldValue, description);
	}

	public void setEditable(Boolean editable) {
		Object oldValue = this.editable;
		this.editable = editable;
		firePropertyChange("editable", oldValue, editable);
	}

}
